/*Fumaeleon Theme for PHP-Fusion 7 by Max "Matonor" Toball*/

/*General*/
html {font-size: 75%;}
body {
	background: #828282;
	color: #fff;
	font-size: 1em;
}
* {
	font-family: Verdana, Arial, Sans, sans-serif;
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 1em;
}
ul, ol, dl {margin: 0.5em 1em}
li {margin-left: 1.5em; line-height: 1.5em;}
option {padding-left: 0.75em}
#subheader ul, #subheader li, #userbar ul, #userbar li, #navigation ul, #navigation li {margin: 0; line-height: inherit;}

/*Links*/
a {
	color: #ccc;
	text-decoration: none;
}
a:hover {
	color: #fff;
	text-decoration: none;
}
.news-footer a {
	color: #fff;
	text-decoration: underline;
}
.news-footer a:hover { text-decoration: none; }
#subheader a, #links a {
	color: #fff;
	height: 2em;
	display: block;
	float: left;
	padding: 0em 0.5em;
	font-weight: bold;
}
#anchors a {
	color: #666;
	margin-left: 0.25em;
}
#subheader a:hover, #subheader .active a, #links a:hover{
	background: #3f3f3f;
	color: #ccc;
}


/*Structure*/
#main {
	position: absolute;
	top: 0px;
	left: 0px;
}
#mainheader {
	background: #3f3f3f;
	padding: 0.5em;
}
#cont {background: #fff;}
#subheader, #userbar {
	background-color: #2c2c2c;
	height: 2em;
	line-height: 2em;
	overflow: hidden;
}
#subheader {
	background: #2c2c2c url(images/colours/grey/lhcorner.gif) right bottom no-repeat;
	margin-bottom: 1em;
	padding-right: 1em;
}
#userbar ul li, #subheader ul li {display: inline;}
#borderl {
	padding-left: 24px;
	background: url(images/borderl.gif) repeat-y;
}
#borderr {
	right: 0px;
	top: 0px;
	padding-right: 24px;
	background: url(images/borderr.gif) right repeat-y;
}
#uborder {
	height: 24px;
	width: 100%;
	background: url(images/uborder.gif) repeat-x;
}
#lborder {
	height: 24px;
	width: 100%;
	background: url(images/lborder.gif) repeat-x;
}
#ucornerl, #ucornerr, #lcornerl, #lcornerr {
	height: 24px;
	width: 24px;
}
#ucornerl {background: url(images/uborderl.gif);}
#ucornerr {background: url(images/uborderr.gif);}
#lcornerl {background: url(images/lborderl.gif);}
#lcornerr {
	height: 24px;
	width: 24px;
	background: url(images/lborderr.gif);
}
#main-bg {
	line-height: 1.4em;
	padding: 1em;
	background: #5d5d5d url(images/colours/grey/mcorner.gif) right top no-repeat;
}
* html #main-bg{overflow: visible;}
#side-border-left {
	width: 15em;
	max-width: 15em;
	float:left;
	padding: 0.8em 1em;
	background: #4a4a4a url(images/colours/grey/lscorner.gif) right top no-repeat;
}
#side-border-right {
	width: 15em;
	max-width: 15em;
	float:right;
	padding: 0.8em 1em;
	background: #4a4a4a url(images/colours/grey/rscorner.gif) left top no-repeat;
}
.side-both #main-bg {margin: 0 18em;}
.side-left #main-bg {margin-left: 18em;}
.side-right #main-bg {margin-right: 18em;}
.side-left #side-border-right {display:none;}
.side-right #side-border-left {display:none;}


/*Navigation Panel*/
#navigation h2, .side-label {
	font-size: 1.1em;
	padding: 0.15em;
	font-weight: 700;
	border-bottom: 2px solid #fff;
}
#navigation ul {
	margin-left: -0.25em;
	list-style-type: none;
	line-height: 1.2em;
}
#navigation img {display: none;}
* html #navigation ul li {height: 1%;}
#navigation a {
	display: block;
	padding: 2px;
	margin-left: 2px;
	text-decoration : none;
}
#navigation a:hover {
	border-left: 2px solid #fff;
	margin-left: 0;
}


/*Misc Styles*/
.comment-avatar {
	padding-right: 6px;
	float: left;
}
.pagenav {padding: 0.4em; color:#f0f0f0;}
.pagenav span, .pagenav a, .pagenav a:hover {
	background-color: #aaa;
	border: 1px solid #fff;
	padding: 0.2em 0.4em 0.2em 0.4em;
	margin: 0.2em;
	text-decoration: none;
}
.pagenav a {
	color: #aaa;
	background-color: #888;
}
.switcherbutton {
	height: 2em;
	width: 2em;
}
.textbox, .button {
	color: #f0f0f0;
	background-color: #5d5d5d;
	border: 2px solid #f0f0f0;
	padding: 0.2em;
	margin-top: 0.1em;
	font-size: 0.9em;
}
.textbox:focus{border-color: #333;}
#main-bg .textbox, #main-bg .button, .tbl-border { background-color: #5d5d5d; }
.bbcode {
	color: #f0f0f0;
	background-color: #5d5d5d;
	border: 1px solid #f0f0f0;
	margin-top: 0.1em;
	font-size: 0.9em;
}
.admin-message, #footer, #subfooter {
	width: 80%;
	border: 2px solid #f0f0f0;
	background: #454545;
	margin: 1em auto;
	padding: 0.5em;
}
#footer, #subfooter{
	font-size: 0.9em;
	border-color: #aaa;
	background: #666;
}
.border {border: 1px solid #fff;}
.news-category {
	border:0;
	margin:3px 5px 0 0;
	float:left;
}
.news-footer {padding: 0.5em;}
.news-footer-img {vertical-align:middle;}
.barmain {
	color: #aaa;
	padding: 4px;
}
.panelcap {
	font-size: 1.3em;
	font-weight: bold;
}
.panelbody {padding: 0em 0.5em 0.5em 0.5em;}
.tbl-border{
	background: #5d5d5d;
	border: 1px solid #5d5d5d;
}
.tbl, .tbl1, .tbl2 {padding: 3pt;}
.tbl1 {background: #3f3f3f;}
.tbl2 {background: #434343;}
.forum-caption {
	font-weight: bold;
	background: #2c2c2c;
	padding: 3pt;
}
.quote {
	padding: 3pt;
	margin: 0 20px;
	background: #2c2c2c;
	border-left: 2pt solid #fff;
}
.poll {
	height: 1em;
	border: 2px solid #fff;
}
.small, .small2, .side-small {font-size: 0.85em;}
.side-label {
	font-weight: bold;
	padding: 3pt;
}
code, pre {
	font-family: monospace;
	font-size: 1.1em;
}
.alt {color: #555;}

div.emulated-fieldset {
	position: relative;
	margin: 20px 0px 10px 0px;
	border: 1px solid #ccc;
	width: 320px;
	background: inherit;
}
div.emulated-fieldset span.emulated-legend {
	display: inline;
	position: absolute;
	top: -12px;
	margin: 0 5px;
	padding: 4px;
	background: inherit;
}
div.emulated-fieldset div.attachments-list {
	padding: 10px 3px 3px 3px;
	width: 320px;
}
hr {
	border:solid #fff 1pt;
	height: 1pt;
	background: #fff;
}
.panelbutton{
	float: right;
	margin: 0.3em;
}
h1,h2,h3,h4,h5,h6 {font-size: inherit;}


/*Helpers*/
.center {margin: 0 auto;}
.content_center {text-align: center;}
.flleft {float: left !important;}
.flright {float: right !important;}
.clear {clear: both;}

#container{
	width: 100%;
	overflow-x: auto;
	overflow-y: visible;
}

/*IE Fixes*/
* html #main-bg {
	height: 1%;
	width: auto;
}
.clearfix:after {
	content:".";
	display:block;
	height:0;
	clear:both;
	visibility:hidden;
}
/* Hide from IE Mac \*/
.clearfix {display:block;}
/* End hide from IE Mac */
.floatfix {overflow:hidden;}
* html .floatfix {width:100%;}
.center, *[align="center"] {margin: 0 auto;}

/* TinyMCE specific rules */
body.mceContentBody {
	background: #FFFFFF;
	color: #000000;
}
